<%@page contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="customer" tagdir="/WEB-INF/tags/customer"%>
<%@ taglib prefix="probiz" tagdir="/WEB-INF/tags/probiz"%>

<title><fmt:message key="salesOrder.cancel.label" /></title>

<content tag="position">
	<fmt:message key="accountMenu.businessManager"/> &gt; <a href="${ctxPath}/customer/csOrders.html"><fmt:message key="accountMenu.myOrder"/></a> 
	&gt; <b>取消订单</b>
	<span style="float:right;"><a href="javascript:history.go(-1)">&lt;&lt;返回</a></span>
</content>

<div class="tab_06">
	<ul class="content clearfix">
		<li>
			<span><fmt:message key="salesOrder.cancel.label" /> </span>
		</li>
	</ul>
</div>

<div class="display_info">
	<form method="post" action="${ctxPath}/customer/csOrders.html" id="cancelForm"
		onsubmit="return validateForm(this)">
		<input type="hidden" name="orderNo" value="${order.orderNo}" />
		<input type="hidden" name="doAction" value="cancleOrder" />
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_display">
			<tr>
				<td><fmt:message key="salesOrder.orderNo"/>:${order.orderNo}
				</td>
			</tr>	
			<c:forEach begin="0" end="5" varStatus="varStatus">
				<tr>
					<td>
						<input type="radio" name="cancelReasonPre" <c:if test="${varStatus.first}">checked</c:if>  value="<fmt:message key="order.cancle.${varStatus.index}"/>"/>
						<fmt:message key="order.cancle.${varStatus.index}"/>
					</td>
				</tr>
			</c:forEach>
			<tr>
				<td>
					<fmt:message key="order.cancle.reseason" />
					<textarea id="cancelReason" name="cancelReason" style="height:60px;width:400px" class="textareatxt" validConf="maxlength=480"></textarea>
					<br/>
				</td>
			</tr>
		</table>
		<div class="profile_go">
			<input type="image" onclick="bCancel=false" name="save" src="${txtImagePath}/btn_submit_02.gif" />
			<input type="image" src="${txtImagePath}/black_btn.gif"
				onclick="history.go(-1);return false;" />
		</div>
	</form>
</div>

<script type="text/javascript">
$j(document).ready(function () {
   autoApplyValidate($('cancelForm'));
});
</script>





